package cn.ylz.ylmall.content.dao.persist.repository;

import cn.ylz.ylmall.account.security.CurrentPrincipal;
import cn.ylz.ylmall.content.pojo.entity.Collect;
import cn.ylz.ylmall.content.pojo.vo.CollectStandardVO;
import cn.ylz.ylmall.content.pojo.vo.CountVO;

public interface ICollectRepository {
    int insert(Collect collect);

    CollectStandardVO selectIsCollect(Long userId, Long contentId);

    int delete(Long userId, Long contentId);

    CountVO count(Long contentId);
}
